﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UFSSMaster.Master" AutoEventWireup="true" CodeBehind="upload.aspx.cs" Inherits="UFSSWebApp.upload" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="PageName" runat="server">
Files / Upload
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Body" runat="server">
<div class="Box" style="width:350px;"> 
				<span class="subheading">Upload a file</span><hr /> 
				<table> 
					<tbody> 
						<tr> 
							<td>File:</td> 
							<td>
                                <asp:FileUpload ID="fuFile" runat="server" />
                            </td> 
							<td><span class="important">*</span></td> 
						</tr> 
						<tr> 
							<td>&nbsp;</td> 
							<td>
                                &nbsp;</td> 
							<td>&nbsp;</td> 
						</tr> 
						<tr> 
							<td>Subscription:</td> 
							<td>								
								&nbsp;<asp:DropDownList ID="ddlSubscriptions" runat="server">
                                </asp:DropDownList>
							</td> 
							<td></td> 
						</tr> 
						<tr> 
							<td></td> 
							<td>
                                <asp:CheckBox ID="chkAgree" runat="server" 
                                    
                                    Text="By uploading this file you agree to assume complete legal liability." 
                                    oncheckedchanged="chkAgree_CheckedChanged" />
                            </td> 
							<td></td> 
						</tr> 
						<tr> 
							<td></td> 
							<td align="right">
                                <br />
                                <asp:Button ID="btnUpload" runat="server" Text="Upload!" Height="26px" 
                                    onclick="btnUpload_Click" ValidationGroup="uploadgroup" />
                                <br />
                                <br />
                                <asp:RequiredFieldValidator ID="rfvFile" runat="server" 
                                    ControlToValidate="fuFile" ErrorMessage="Please select a file." 
                                    ValidationGroup="uploadgroup"></asp:RequiredFieldValidator>
                            </td> 
							<td></td> 
						</tr> 
					</tbody> 
				</table> 
			</div> 
</asp:Content>
